// 导入vscode全局对象
const vscode = require('vscode')
import { HoverProvider } from './utils/index'

/**
 * 添加事件
 * @param {vscode.ExtensionContext} context
 */
function activate(context) {
  console.log(111)
  console.log(HoverProvider)
  context.subscriptions.push(
    vscode.languages.registerHoverProvider(
      { scheme: 'file', language: 'vue-html' },
      HoverProvider
    )
  )
}

module.exports = {
  activate,
}
